<template>
    <div>

      <div class="ka" v-for="(item,index) in arr">
        <div class="con">
          <div class="top">
            <p>邮政储蓄银行</p>
            <p>储蓄卡</p>
          </div>
          <p class="num">**** **** **** 7699</p>
        </div>
        <img src="../../../src/assets/img/person/shanchu.png" alt="" class="shan">
      </div>

      <div class="tianjia" @click="tj()">
        <img src="../../../src/assets/img/person/tianjia.png" alt="">
        <span>添加银行卡</span>
      </div>

    </div>
</template>

<script>
    export default {
        name: "Yinhangka",
      data(){
          return{
            arr:['1','1']
          }
      },
      methods:{
        tj(){
          this.$router.push({
            path:'/tjka'
          })
        }
      }
    }
</script>

<style scoped>
    .ka{
      width: 92%;
      height: 2.07rem;
      border-radius: 0.08rem;
      margin: auto;
      margin-top: 0.3rem;
      background: url("../../../src/assets/img/person/qbbeijing.png") no-repeat;
      background-size: 100% 100%;
      overflow: hidden;
      position: relative;
    }
  .con{
    width: 88%;
    margin: auto;
    color: #fff;
    margin-top: 0.4rem;
  }
  .top{
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .top p:nth-child(1){
    font-size:0.34rem;
    font-weight:bold;
  }
  .top p:nth-child(2){
    font-size:0.24rem;
    font-weight:400;
  }
  .num{
    font-size:0.24rem;
    font-weight:500;
    margin-top: 0.2rem;
    line-height: 0.32rem;
  }
  .shan{
    width: 0.7rem;
    position: absolute;
    right: 0;
    bottom: 0;
  }
  .tianjia{
    text-align: center;
    margin-top: 1rem;
  }
  .tianjia img{
    width: 0.44rem;
  }
  .tianjia span{
    font-size:0.3rem;
    font-weight:500;
    color:rgba(51,51,51,1);
    margin-left: 0.1rem;
  }
</style>
